package com.example.expandablelistview.dialog;

import android.app.Activity;
import android.app.AlertDialog;
import android.os.Bundle;
import android.view.View;

import com.example.expandablelistview.R;

public class AlertDialogEx extends Activity {
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.dialogex);
	}

	public void mOnClick(View v) {
/*		AlertDialog.Builder bld = new AlertDialog.Builder(this);
		bld.setTitle("알립니다.");
		bld.setMessage("대화상자를 열었습니다");
		bld.setIcon(R.drawable.ic_launcher);
		bld.show();*/
		new AlertDialog.Builder(this)
		.setTitle("알립니다")
		.setMessage("대화상자를 열었습니다")
		.setIcon(R.drawable.ic_launcher)
		.show();
	}
}
